import java.util.ArrayList;
import java.util.Random;

public class SwitchLetter {
    public static void main(String[] args) {
        Random random = new Random();
        for (int i = 0; i < 10; i++) {
            int c = random.nextInt(26) + 'a'; // generate a random 0-25 number
            System.out.print((char) c + " ");
            switch (c) {
                case 'a':
                case 'e':
                case 'i':
                case 'o':
                case 'u':
                    System.out.println("vowel");
                    break;
                case 'y':
                case 'w':
                    System.out.println("Sometimes a vowel");
                    break;
                default:
                    System.out.println("consonant");
            }
        }

        ArrayList<String> list = new ArrayList<>();
        list.add("ab");
        list.add("cd");
        list.add("ef");
        String s = list.get(new Random().nextInt(list.size()));
        switch (s) {
            case "ab":
                System.out.println("ab");
                break;
            case "cd":
                System.out.println("cd");
                break;
            case "ef":
                System.out.println("ef");
                break;
            default:
                System.out.println("default");
        }

    }
}
